//
//  SingerMusicListTableView.m
//  YanMusicPlayer
//
//  Created by 1564335 on 15-6-12.
//  Copyright (c) 2015年 胡岩 All rights reserved.
//

#import "SingerMusicListTableView.h"

@implementation SingerMusicListTableView

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesBegan:touches withEvent:event];
    if ([_touchTableDelegate conformsToProtocol:@protocol(TouchTableDelegate)] &&
        [_touchTableDelegate respondsToSelector:@selector(tableView:touchesBegan:withEvent:)])
    {
        [_touchTableDelegate tableView:self touchesBegan:touches withEvent:event];
    }
}

- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesCancelled:touches withEvent:event];
    
    if ([_touchTableDelegate conformsToProtocol:@protocol(TouchTableDelegate)] &&
        [_touchTableDelegate respondsToSelector:@selector(tableView:touchesCancelled:withEvent:)])
    {
        [_touchTableDelegate tableView:self touchesCancelled:touches withEvent:event];
    }
}

- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesEnded:touches withEvent:event];
    
    if ([_touchTableDelegate conformsToProtocol:@protocol(TouchTableDelegate)] &&
        [_touchTableDelegate respondsToSelector:@selector(tableView:touchesEnded:withEvent:)])
    {
        [_touchTableDelegate tableView:self touchesEnded:touches withEvent:event];
    }
}

- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesMoved:touches withEvent:event];
    
    if ([_touchTableDelegate conformsToProtocol:@protocol(TouchTableDelegate)] &&
        [_touchTableDelegate respondsToSelector:@selector(tableView:touchesMoved:withEvent:)])
    {
        [_touchTableDelegate tableView:self touchesMoved:touches withEvent:event];
    }
}


@end
